import { api } from 'boot/axios'
import { CommonApiPrefix } from 'src/common/const'
export const postClueAdd = (params: Api_ClueManager.ClueOrderProps):Promise<CommonType.ResDataType<any>>=>{
  return api.post(`${CommonApiPrefix}/clue/add`, null, { params })
}

export const postClueUpdate = (params: Api_ClueManager.ClueOrderProps):Promise<CommonType.ResDataType<any>>=>{
  return api.post(`${CommonApiPrefix}/clue/update`, null, { params })
}

export const getClueSearch = (params:any): Promise<CommonType.ResDataType<any>> => {
  return api.get(`${CommonApiPrefix}/clue/search`, { params })
}

export const getClueGet = (params:any): Promise<CommonType.ResDataType<any>> => {
  return api.get(`${CommonApiPrefix}/clue/get`, { params })
}

export const getClueDel = (params:any): Promise<CommonType.ResDataType<any>> => {
  return api.get(`${CommonApiPrefix}/clue/del`, { params })

}